package com.kish.service.impl;

import com.kish.dao.UserDao;
import com.kish.service.UserService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userService")
public class UserServiceImpl implements UserService {
    @Resource
    private UserDao userDao;

    @Override
    public int save() {
        userDao.add();
        System.out.println("userService save running");
        return 0;
    }
}
